package com.book.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.Date;

import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author wx
 * @since 2023-10-13 10:37:37
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("t_readers")
public class TReaders implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @TableField("username")
    private String username;

    @TableField("password")
    private String password;

    @TableField("salt")
    private String salt;

    @TableField("age")
    private String age;

    @TableField("telephone")
    private Integer telephone;

    @TableField("sex")
    private String sex;

    @TableField("creat_time")
    private Date creatTime;

    @TableField("vip")
    private String vip;

    @TableField("state_time")
    private Date stateTime;

    @TableField("end_time")
    private Date endTime;

    @TableField("bookB_num")
    private Integer bookbNum;

    @TableField("monthly_num")
    private Integer monthlyNum;

    @TableField("email")
    private String email;

    @TableField("img")
    private String img;

    @TableField("max_day")
    private Integer maxDay;

    @TableField("attr1")
    private Integer attr1;

    @TableField("attr2")
    private Integer attr2;

    @TableField("attr3")
    private String attr3;

    @TableField("attr4")
    private String attr4;


    public static final String ID = "id";

    public static final String USERNAME = "username";

    public static final String PASSWORD = "password";

    public static final String SALT = "salt";

    public static final String AGE = "age";

    public static final String TELEPHONE = "telephone";

    public static final String SEX = "sex";

    public static final String CREAT_TIME = "creat_time";

    public static final String VIP = "vip";

    public static final String STATE_TIME = "state_time";

    public static final String END_TIME = "end_time";

    public static final String BOOKB_NUM = "bookB_num";

    public static final String MONTHLY_NUM = "monthly_num";

    public static final String EMAIL = "email";

    public static final String IMG = "img";

    public static final String MAX_DAY = "max_day";

    public static final String ATTR1 = "attr1";

    public static final String ATTR2 = "attr2";

    public static final String ATTR3 = "attr3";

    public static final String ATTR4 = "attr4";

}
